package com.intellagric.mapper;

import com.intellagric.pojo.TraceCompany;
import com.intellagric.pojo.TraceCompanyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceCompanyMapper {
    long countByExample(TraceCompanyExample example);

    int deleteByExample(TraceCompanyExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceCompany record);

    int insertSelective(TraceCompany record);

    List<TraceCompany> selectByExampleWithBLOBs(TraceCompanyExample example);

    List<TraceCompany> selectByExample(TraceCompanyExample example);

    TraceCompany selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceCompany record, @Param("example") TraceCompanyExample example);

    int updateByExampleWithBLOBs(@Param("record") TraceCompany record, @Param("example") TraceCompanyExample example);

    int updateByExample(@Param("record") TraceCompany record, @Param("example") TraceCompanyExample example);

    int updateByPrimaryKeySelective(TraceCompany record);

    int updateByPrimaryKeyWithBLOBs(TraceCompany record);

    int updateByPrimaryKey(TraceCompany record);
}